<template>
  <!-- 瀑布流 -->
  <van-list
    v-model:loading="loading"
    :finished="finished"
    finished-text="没有更多了"
    :immediate-check="false"
    offset="100"
    @load="onLoad"
  >
    <card :userTravels="userTravels" />
  </van-list>
  <div style="height: 100px"></div>
</template>

<script setup>
import card from "@/components/cardFlow/index.vue";
import { ref, onMounted, onUnmounted } from "vue";
import { useRoute } from "vue-router";
const $routeQuery = useRoute(); // 用于接收路由参数的
const fetchValue = ref(""); //存储上个页面的值
const userTravels = ref([]); //接收游记数据
onMounted(async () => {});
const loading = ref(false);
const finished = ref(false);
// 上啦加载
const page = ref(1);
async function onLoad() {}
onUnmounted(() => {
  finished.value = false;
});
</script>

<style></style>
